package com.xdu.controller.user;


import com.xdu.result.Result;
import com.xdu.service.ShopService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController("userShopController")
@RequestMapping("/user/shop")
@Api(tags = "店铺相关接口")
public class ShopController {
    @Autowired
    ShopService shopService;
    /**
     * 获取店铺营业状态
     * @param
     * @return
     */
    @GetMapping("/status")
    @ApiOperation("查看店铺营业状态")
    public Result getShopStatus(){
        return shopService.getShopStatus();
    }

}
